require directive


Purpose

The require directive affects which authenticated users can access a given directory with a given method.


Scope

This directive is only available within Limit sections.


Syntax

require entity en1 en2 ... enn

en are entity names, separated by spaces.

entity is one of the following:


Default

No default applies.


Example

<Limit GET PUT>
order deny,allow
deny from all
allow from .gurf.net
require user clinton
require group sharks
</Limit>
In this directory, the server evaluates the deny directive first. So, everyone is denied. It then evaluates the allow directive, and decides to allow clients from .gurf.net. Now, it uses user authentication and only allows users who are named clinton or are in the group sharks.

Return to access configuration overview


Robert B. Denny <rdenny@netcom.com>